<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录界面</title>
<%@ include file="/WEB-INF/common/head.jsp"%>
<script type="text/javascript" src="static/js/login.js"></script>
</head>
<body>
<%@include file="/WEB-INF/common/header.jsp"%>
<div id="login_wrap">

    <div id="login_box">

        <div id="login_title">
            <h2>账号登录</h2>
        </div>

        <form action="user/login" method="post">
        <div id="form">
            <input class="input_txt" type="text" value="${requestScope.username}" name="username" id="username" placeholder="用户名">
            <div style="height: 10px"></div>
            <input class="input_txt" type="password" value="" name="password" id="password" placeholder="密码">
            <div  class="tip" id="login_error" style="color: #ff0000">
                ${requestScope.error}
            </div>

            <div style="font-size:14px;">
                <input type="checkbox" name="agree" id="agree" style="vertical-align:-2px">十天内无需登录
                <a style="float: right" class="login_href" href="javascript:location.reload();">忘记密码</a>
            </div>

            <input type="submit" value="登录" class="LR_button" id="login_btn"/>
            <a class="login_href" href="jacascript:location.reload();">还没有账号？赶紧去注册吧！</a>
        </div>
        </form>
    </div>
</div>
<%@include file="/WEB-INF/common/footer.jsp"%>
</body>
</html>